package com.atguigu.decorator;

/**
 * @author LYJ
 * @Description
 * @date 2021 年 10 月 11 日 下午3:45
 */
public abstract class Drink {
    public String des; //描述
    private float price = 0.0f;


    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    //计算价格的抽象类
    public abstract float cost();
}
